# 客户端
message(STATUS "Building client...")
set(CLIENT_SOURCES client.cpp)
add_executable(client ${CLIENT_SOURCES})
target_link_libraries(client PRIVATE
    grpc_proto_object
    ${_PROTOBUF_LIBPROTOBUF}
    ${_GRPC_GRPCPP}
    Threads::Threads)
target_include_directories(client PRIVATE
    "${PROTO_OUTPUT_DIR}")

install(TARGETS client RUNTIME DESTINATION bin)